<html ng-app="baseDirective">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link href="../../build/common/base.css" rel="stylesheet">
	<script type="text/javascript" src="../../build/common/base.js"></script>
	<script type="text/javascript" src="../../build/common/ngEdit.js"></script>
	</head>
	<body class="panel">
		<form name="form" ab-load="/org/group/get?id={id}"   ng-model="data">
		<table class="form-table">
					<tr>								
						<th style="width:350px;"><span>组织名称:</span></th>
						<td> {{data.name }}</td>
					</tr>
					<tr>								
						<th><span>上级组织名称:</span></th>
						<td> {{data.parentName }}</td>
					</tr>
					<tr>								
						<th><span>排序号:</span></th>
						<td> {{data.sn }}</td>
					</tr>
					<tr>								
						<th><span>组织编码:</span></th>
						<td> {{data.code }}</td>
					</tr>
					<tr>								
						<th><span>组织类型:</span></th>
						<td> 
							{{['集团','分公司','2','部门'][data.type]}}
						 </td>
					</tr>
					
					<tr>
				<th><span>组织岗位：</span></th>
				<td>
					<span ng-repeat="relation in data.orgRelationList |filter:{type:'groupRole'}" style="margin-right: 10px" class="label label-danger"> {{relation.roleName}}
					</td>
			</tr>
		</table>
		</form>
	</body>
</html>